<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ page import="org.bson.Document" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>教务辅助管理系统</title>
<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="<%=request.getContextPath()%>/lib/font-awesome/css/font-awesome.min.css">
<link rel="stylesheet" href="<%=request.getContextPath()%>/lib/sweetalert/sweetalert.css">
<link rel="stylesheet" href="<%=request.getContextPath()%>/css/style.css">
</head>
<body>
<%Document result = (Document)session.getAttribute("result"); %>
<nav class="navbar navbar-inverse navbar-static-top" role="navigation">
	<div class="container-fluid">
    <div class="navbar-header">
        <a class="navbar-brand" href="#">教务辅助管理系统</a>
    </div>   
	<div class="navbar-right">
        <ul class="nav navbar-nav">
			<li><a href="/jspbighomework/teacher/courseclassServlet?method=list&teachercode=<%=result.getString("username") %>">课程班管理</a></li>
			<li><a href="/jspbighomework/teacher/teacherMaterialsTemplateServlet">教学材料模板</a></li>
			<li><a href="/jspbighomework/teacher/task/taskServlet?method=list">任务管理</a></li>
			<li><a href="/jspbighomework/teacher/teacherInfo.jsp">个人资料</a></li>
			<li>
	        	<p class="navbar-text"><%=result.getString("username") %></p>
	    	</li>
			<li><a href="/jspbighomework/login.jsp"><span class="glyphicon glyphicon-log-out"></span>  退出</a></li>
        </ul>
    </div>
	</div>
</nav>
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="<%=request.getContextPath()%>/lib/sweetalert/sweetalert.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap-hover-dropdown/2.2.1/bootstrap-hover-dropdown.js"></script>
</body>
</html>